use cei_state_time, clear
twoway (connected cei_year cyear) (connected sm_year cyear) (connected sip_year cyear), ylabel(0(0.1)1) legend(order(1 "CEI" 2 "SM" 3 "SIP") cols(1) region(lcolor(white)) position(10) ring(0)) ytitle(CEI Score) xtitle(Year) scheme(s2mono) graphregion(fcolor(white) lcolor(white) ifcolor(white) ilcolor(white)) plotregion(margin(zero) fcolor(white) lcolor(white) ifcolor(white) ilcolor(white))

use state_data, clear
spmap cei_state using "state_coordinates_mercator.dta", id(id) clmethod(quantile) clnumber(4) legtitle(CEI Score) legend(symy(*1) symx(*1) position(4)) legstyle(1) fcolor(Blues) ocolor(white ..) label(data(maplabels) xcoord(x_c)  ycoord(y_c) label(NAME) by(labtype) size(*0.65 ..) pos(12 0))
